/**
 * 字体颜色
 * 
 * @param value
 * @param color
 * @return
 */
function addFontColor(value, color) {
	if (typeof (color) == "undefined") {
		color = "green";
	}
	return "<font color='" + color + "'>" + value + "</font>";
}

function decorateToolTip(value, row, index) {
	var showContent = "";
	if (value.length > 4) {
		showContent = value.substring(0, 4) + "...";
	} else {
		showContent = value;
	}
	return "<span title='" + value + "' class='easyui-tooltip'>" + showContent
			+ "</span>";
}
